<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *,body{
            margin: 0;
            padding: 0;
        }
        body{
            width: 100vw;
            height: 100vh;
            background: no-repeat;
            background-image: url(./塞西莉亚.jpg);
        }
    </style>
</head>

<body>
    <div id="rangeValue">0</div>
    <input type="range" class="range" value="0" min="0" max="100" onmousemove="rangeSlider(this.value)"
        onchange="rangeSlider(this.value)">

    <script>
        function rangeSlider(value) {
            document.querySelector('#rangeValue').innerHTML = value+'%'
        }
    </script>
</body>

</html>